package com.codes.model;

import io.swagger.annotations.ApiModelProperty;

public class Product {
    private Integer id;
    @ApiModelProperty(value="建材名称",example="叠合板")
    private String name;
    @ApiModelProperty(value="建材详情",example="叠合板用来干啥的 可以不写")
    private String detail;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }
}